package cn.offer.service;

import cn.offer.domain.YixuePaotuiAddress;
import cn.offer.domain.YixuePaotuiAddressExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Snake Eyes
 * @PROJECT_NAME: paotui
 * @DESCRIPTION:
 * @USER: 11647
 * @DATE: 2021/5/19 14:16
 * @Email: 1164763541@qq.com
 */
public interface AddressService {
    long countByExample(YixuePaotuiAddressExample example);

    int deleteByExample(YixuePaotuiAddressExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(YixuePaotuiAddress record);

    int insertSelective(YixuePaotuiAddress record);

    List<YixuePaotuiAddress> selectByExample(YixuePaotuiAddressExample example);

    YixuePaotuiAddress selectByPrimaryKey(Integer id);

    int updateByExampleSelective(YixuePaotuiAddress record, YixuePaotuiAddressExample example);

    int updateByExample( YixuePaotuiAddress record,  YixuePaotuiAddressExample example);

    int updateByPrimaryKeySelective(YixuePaotuiAddress record);

    int updateByPrimaryKey(YixuePaotuiAddress record);

}
